package com.poetize.plus.entity.dto.page;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author zuosy
 * @created 2024/4/16 15:50
 */
@Data
@EqualsAndHashCode(callSuper = true)
public final class LabelPageDTO extends PageParam {

    @Schema(description = "分类ID")
    @NotNull(message = "分类ID不能为空")
    private Long sortId;

    @Schema(description = "标签名称")
    private String labelName;
}
